Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632707 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/52 - Temperature Convertor

icon.png cody/swapnilsparsh/30DaysOfJavaScript/52 - Temperature Convertor/icon.png
81 Views
0 Comments
Media file
style.css cody/swapnilsparsh/30DaysOfJavaScript/52 - Temperature Convertor/style.css
124 Views
0 Comments
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: #19172e;
height: 100vh;
index.html cody/swapnilsparsh/30DaysOfJavaScript/52 - Temperature Convertor/index.html
346 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="icon.png" type="image/png" />
<title>Temperature Convertor</title>
script.js cody/swapnilsparsh/30DaysOfJavaScript/52 - Temperature Convertor/script.js
180 Views
0 Comments
// taking input element
const celsius =document.getElementById('celsius');
const fahrenheit =document.getElementById('fahrenheit');
const kelvin =document.getElementById('kelvin');

const input_box = document.getElementsByClassName('input_box');

for(let i=0; i<input_box.length; i++){